package com.gitee.poi.plugin.core.handler;

import java.lang.reflect.Field;

public abstract class AbstractProcessor implements HandlerAnnotation {

    public abstract Class getSupportAnnotation();

    public boolean supportsAnnotation(Field field) {
        return field.getAnnotation(getSupportAnnotation()) != null;
    }
}
